package com.ruoyi.nongjt.domain;

import com.fasterxml.jackson.annotation.JsonFormat;
import com.ruoyi.common.annotation.Excel;
import lombok.Data;

import java.util.Date;

@Data
public class Supervisor {
    @Excel(name = "用户id")
    private Long id;

    @Excel(name = "电话号码")
    private String mobilePhone;

    private String password;

    @Excel(name = "所属监管单位ID")
    private Long organizationId; // 注意：数据库是 INT UNSIGNED，Java 用 Long 更安全

    @JsonFormat(pattern = "yyyy-MM-dd HH:mm:ss", timezone = "GMT+8")
    private Date createTime;

    @JsonFormat(pattern = "yyyy-MM-dd HH:mm:ss", timezone = "GMT+8")
    private Date updateTime;

    private String captcha;  // 图形验证码
    private String uuid;     // 验证码唯一标识

}
